import axios from '@/util/request'

export const uploadFileReq = data =>{
    return axios({
        url:'/file/upload',
        method:'post',
        data:data,
        // 上传文件请求头设置
        headers:{
            "Content-Type":'multipart/form-data'
        }
    })
}